package com.wj.abstractfactory.human;

import com.wj.abstractfactory.abstracthuman.AbstractYellowHuman;

/**
 * @author WangJin
 * @version 1.0
 * @date 2022/2/18 10:27
 */
public class YellowHuMan extends AbstractYellowHuman {
    @Override
    public void talk() {
        System.out.println("黄种人会说");
    }

    @Override
    public void sex() {
        System.out.println("黄种人是男人");
    }
}
